<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title>智能进出口服务平台</title>
    <link rel="shortcut icon" type="image/x-icon" href="/images/logo.ico" />
    <link rel="stylesheet" type="text/css" href="/layui/css/layui.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css?v=202001010101" />
    <link rel="stylesheet" type="text/css" href="/css/jquery-ui.css?v=202001010101">
    <link rel="stylesheet" type="text/css" href="/css/style.css?v=202001010101">
</head>
<body>
<div class="tsf-page-content" style="padding: 0px;">
    <div class="layui-card">
        <form class="layui-form" method="post" lay-filter="baseForm" id="baseForm">
            <input type="hidden" name="id" id="id"/>
            <div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-address-card-o"></i>基础信息</span></div>
            <div class="layui-card-body">
                <div class="layui-row">
                    <div class="layui-col-md6">
                        <label class="layui-form-label"><span class="text-danger">*</span>英文名称</label>
                        <div class="layui-input-block">
                            <input name="name" id="name" class="layui-input required" lay-verify="required" placeholder="英文名称" clear-val/>
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <label class="layui-form-label">中文名称</label>
                        <div class="layui-input-block">
                            <input name="nameCn" id="nameCn" class="layui-input" placeholder="中文名称" clear-val/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md6">
                        <label class="layui-form-label">电话</label>
                        <div class="layui-input-block">
                            <input name="tel" id="tel" class="layui-input" placeholder="公司电话" clear-val/>
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <label class="layui-form-label">传真</label>
                        <div class="layui-input-block">
                            <input name="fax" id="fax" class="layui-input" placeholder="公司传真" clear-val/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md12">
                        <label class="layui-form-label"><span class="text-danger">*</span>英文地址</label>
                        <div class="layui-input-block">
                            <input name="address" id="address" class="layui-input required" lay-verify="required" placeholder="英文地址" clear-val/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md12">
                        <label class="layui-form-label">中文地址</label>
                        <div class="layui-input-block">
                            <input name="addressCn" id="addressCn" class="layui-input" placeholder="中文地址" clear-val/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md6">
                        <label class="layui-form-label">设为默认</label>
                        <div class="layui-input-block">
                            <input type="checkbox" name="isDefault" id="isDefault" lay-skin="primary" value="true"/>
                        </div>
                    </div>
                </div>
                <div class="layui-row">
                    <div class="layui-col-md6">
                        <label class="layui-form-label">电子章</label>
                        <div class="layui-input-block">
                            <input type="hidden" name="chapter" id="chapter" value=""/>
                            <input type="hidden" name="fileId" id="fileId" value=""/>
                            <div class="chapter chapter2 tsf-hide" id="chapterArea"><img id="chapterImg"/></div>
                            <p style="margin-top: 2px;">为保证电子章效果，请上传尺寸90 x 90像素PNG透明图片</p>
                            <div class="layui-row mt10 mb10">
                                <button type="button" class="layui-btn layui-btn-sm layui-btn-normal" id="uploadChapterBtn"><i class="fa fa-cloud-upload"></i>上传</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
        <form class="layui-form" method="post" id="bankForm">
            <div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-bank"></i>银行信息</span></div>
            <div class="layui-card-body">
                <table class="layui-hide" id="bank-list" lay-filter="bank-list"></table>
                <div class="mt10"><a href="javascript:" class="layui-btn layui-btn-sm" onclick="addBank()"><i class="fa fa-plus-circle"></i>添加一行</a></div>
            </div>
        </form>


    </div>
</div>
<div class="tsf-page-btn-group">
    <button type="button" class="layui-btn layui-btn-sm save-btn"><i class="fa fa-save" aria-hidden="true"></i>保存</button>
    <button type="button" class="layui-btn layui-btn-primary layui-btn-sm close-window"><i class="fa fa-close"></i>关闭</button>
</div>

<script type="text/html" id="deOperaBar">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="deDel">删除</a>
</script>

<script type="text/html" id="bankNameTemp">
    <input type="hidden" name="id" value="{{d.id}}"/>
    <input type="text" name="name" class="layui-input required" placeholder="银行名称" value="{{d.name}}"/>
</script>
<script type="text/html" id="bankAccountTemp">
    <input type="text" name="account" class="layui-input required" placeholder="银行账号" value="{{d.account}}"/>
</script>
<script type="text/html" id="currencyIdTemp">
    <input type="text" name="currencyName" class="layui-input auto-currency required" placeholder="币制" value="{{d.currencyName}}"/>
</script>
<script type="text/html" id="bankSwiftCodeTemp">
    <input type="text" name="swiftCode" class="layui-input required" placeholder="SWIFT CODE" value="{{d.swiftCode}}" maxlength="11"/>
</script>
<script type="text/html" id="bankCodeTemp">
    <input type="text" name="code" class="layui-input" placeholder="银行代码" value="{{d.code}}"/>
</script>
<script type="text/html" id="bankAddressTemp">
    <input type="text" name="address" class="layui-input required" placeholder="详细地址" value="{{d.address}}"/>
</script>

<script type="text/html" id="disabledTemp">
    {{#if(d.disabled==false){}}
    <input type="checkbox" name="disabled" lay-skin="switch" checked lay-text="启用|禁用"/>
    {{#}else{ }}
    <input type="checkbox" name="disabled" lay-skin="switch" lay-text="启用|禁用"/>
    {{#}}}
</script>
<script type="text/html" id="isDefaultTemp">
    {{#if(d.isDefault==true){}}
    <input type="radio" name="isDefault" class="takeIsDefault" checked/>
    {{#}else{ }}
    <input type="radio" name="isDefault" class="takeIsDefault"/>
    {{#}}}
</script>

<script type="text/javascript" src="/js/jquery.min.js?v=202001010101"></script>
<script type="text/javascript" src="/layui/layui.js?v=202001010101"></script>
<script type="text/javascript" src="/js/jquery-ui.min.js?v=202001010101"></script>
<script type="text/javascript" src="/js/app.js?v=202006010928"></script>
<script type="text/javascript" src="/js/autocomplete.js?v=202001010101"></script>
<script type="text/javascript" src="/subject/overseas/edit.js?v=202001010101"></script>
</body>
</html>